From: Colin Walters Date: Mon, 30 Nov 2009 18:47:58 +0000 (-0500) Subject: Avoid variable redeclaration X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~10628 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=368d484dee02be8536e36a88da2c88c23f3d7bc9;p=gnome-shell.git Avoid variable redeclaration https://bugzilla.gnome.org/show_bug.cgi?id=603327 --- diff --git a/js/ui/workspaces.js b/js/ui/workspaces.js index 58e982fc0..f523e8a58 100644 --- a/js/ui/workspaces.js +++ b/js/ui/workspaces.js @@ -496,8 +496,8 @@ WindowOverlay.prototype = { let closeNode = this.closeButton.get_theme_node(); - let [success, len] = closeNode.get_length('-shell-close-overlap', - false); + [success, len] = closeNode.get_length('-shell-close-overlap', + false); if (success) this.closeButton._overlap = len;